package lab9;

public class DoStuff {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Person pesho = new Person("Pesho", 20, 100, 10, 50);
		System.out.println(pesho.toString());
		System.out.println("Pesho goes to the pub.");
		pesho.getDrunk();
		pesho.growUp();
		pesho.eat();
		System.out.println(pesho.toString());
		Person gosho = new Person("Gosho", 30, 200, 100, 0);
		System.out.println("Gosho goes to the pub.");
		System.out.println(gosho.toString());
		for (int i = 0; i < 103; i++) gosho.getDrunk();
		gosho.setFriend(pesho);
		gosho.drinkWater(5.0);
		gosho.walk();
		System.out.println(gosho.toString());
		System.out.println(gosho.getFriend().toString());
	}

}
